<% title = (params[:search].blank?) ? "报价列表" : "报价搜索结果" -%>
<ul id="home" title="<%=title%>" selected="true">
  <%=link_to '创建新报价', {:action => :new}, :class => "button leftButton new action" %>
  <%=link_to '搜索', "#searchForm", :class => "button search action" %>
  <%= render :partial => 'list' %>
</ul>
<%= render :partial => (active_scaffold_config.actions.include?(:search)) ? 'search' : 'field_search' -%>
